<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
    <title>MBA教育中心双向选择系统</title>
    <%= stylesheet_link_tag 'mba' %>
  </head>
  <body>
    <div id="top"></div>
    <div id="tl"><img src="/doublechoice/images/logo.gif" alt="logo" /></div>
    <div id="t2"><img src="/doublechoice/images/system.jpg" alt="system" /></div>
    <div id="tm"><img src="/doublechoice/images/t2.gif" alt="blog" /></div>
    <div id="tr"></div>
    <div id="rm"></div>
    <div id="mid">
      <%= javascript_include_tag "pic.js" %>
    </div>
    <div id="left">
      <img src="/doublechoice/images/tealogin.jpg" alt="tealogin" />
      <div id="login">
        <p>
          当前用户：<%= h(session[:teacher_name])%>
        </p>
        <p>
          身份类型： 教师
        </p>
      </div>
      <ul>
        <li><img src="/doublechoice/images/icon1.gif" alt="icon1" />
        <%= link_to "系统公告", :controller => "tea", :action => "index" %></li>
        <li><img src="/doublechoice/images/icon1.gif" alt="icon1" />
        <%= link_to "个人信息", :controller => "teachers", :action => "show", :id => session[:teacher_id] %></li>
        <li><img src="/doublechoice/images/icon1.gif" alt="icon1" />
        <%= link_to "选择学生", :controller => "tea", :action => "select_student" %> </li>
        <li><img src="/doublechoice/images/icon1.gif" alt="icon1" />
        <%= link_to "双选进程", :controller => "tea", :action => "choice_process" %></li>
        <li><img src="/doublechoice/images/icon1.gif" alt="icon1" />功能使用</li>
        <li><img src="/doublechoice/images/icon1.gif" alt="icon1" />
        <%= link_to "安全退出", :controller => "login", :action => "index" %></li>
      </ul>
    </div>

    <div id="main">
      <div class="content">
        <p style="color: green"><%= flash[:notice] %></p>

        <%= yield  %>
      </div>
    </div>
    <div id="right">
    </div>
    <div id="copy" align="center" class="copy">
      copyright 2009 &copy; Louis Studio 版权所有<br />
      Address:TianJin China<br />
      mqh444@gmail.com
    </div>
  </body>
</html>
